> For the complete documentation index, see [llms.txt](https://godisoft.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://godisoft.gitbook.io/docs/analytic-features/settings/marketing-integration.md). Agents can also search and read this documentation through its [MCP server](https://godisoft.gitbook.io/docs/~gitbook/mcp).

# Marketing integration

The Marketing Integration feature in GoProfit allows you to connect and analyze your ad performance seamlessly across multiple marketing platforms.

GoProfit currently supports integration with the following platforms:

* Facebook & Instagram
* Google Ads & YouTube
* TikTok Ads

Once you connect your accounts to GoProfit:

* The app will collect data from your linked advertising accounts.
* This data will be updated periodically (e.g., Facebook & Instagram data is refreshed every 2 hours).
* Only the last 6 months of marketing performance data will be available for analysis.
* The collected data will be displayed in the **Marketing Performance** feature of the GoProfit app, where you can track and evaluate the effectiveness of your campaigns.

To integrate your marketing accounts:

* Navigate to the **Settings** page in the GoProfit app > Select **Marketing Integration** from the options on the left-hand menu.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2F0DpVtIrmtRiWv3n7bF73%2Fimage.png?alt=media&amp;token=43d7424d-03c7-44cd-a0b5-673b66c6e0bf" alt=""><figcaption></figcaption></figure>

* Under "Ad Platforms," locate the platform you wish to connect (e.g., Facebook & Instagram, Google Ads & YouTube, or TikTok Ads) >> Click "Connect" button.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2F4d6KukjZheKFne19yr2r%2Fimage.png?alt=media&amp;token=b91659dc-d611-4da1-b891-c0948e51d424" alt=""><figcaption></figcaption></figure>

* A popup will appear that requires you to log in to your ads account and confirm that GoProfit has access to connect with your account.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FrReXr7QiFdcnxhXhI7pw%2Fimage.png?alt=media&amp;token=fd82f53b-cd68-4640-8a8e-73c9fe7d292a" alt=""><figcaption></figcaption></figure>

* After a successful connection, the Connect button will change to a Manage button.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FffOZXlb1mXe7enA3j6uG%2Fimage.png?alt=media&amp;token=83c4357b-9592-4f89-b4fa-9d2c7f621f29" alt=""><figcaption></figcaption></figure>

* Click the Manage button, turn on the toggle for the ads account that you want to sync data, and click the Sync Data button, it is the same for other platforms&#x20;

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FriLWvraRBIiNfcIyDvsP%2Fimage.png?alt=media&amp;token=837f5a49-16c7-431f-ab4d-6b520757b9fc" alt=""><figcaption></figcaption></figure>

If you prefer not to rely solely on the gross conversion rate/sales from your ads and would like to see conversion/sale data broken down by individual products, then the ‘Marketing attribution’ feature is for you.&#x20;

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FlYwLP15855OFhLPzp8YY%2Fimage.png?alt=media&amp;token=c192a5a4-506c-460b-8937-6b2cfd522192" alt=""><figcaption></figcaption></figure>

**Step 1:**&#x20;

**Step 2:**&#x20;

How to get ads ID?&#x20;

* Google:
  1. In your Google Ads account, click the **Campaigns** icon <img src="https://storage.googleapis.com/support-kms-prod/zdCbAPrGfII6HokxlaYTF9m3yViEk6LFMdGA" alt="Campaigns Icon" data-size="line">.
  2. Click the **Campaigns** drop down in the section menu.
  3. Click [**Ads**](https://ads.google.com/aw/ads).
  4. In the statistics table, you’ll find the ad ID in the “Ad ID” column.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2F3F1yATgqAxoX34oeQLMf%2Fimage.png?alt=media&amp;token=df0a4a46-21fb-469b-9c25-b7cea17307df" alt=""><figcaption></figcaption></figure>

* Facebook:

1. Go to [Ads Manager](https://www.facebook.com/adsmanager/manage/).
2. Click the <img src="https://lookaside.fbsbx.com/elementpath/media/?media_id=281363099757865&#x26;version=1740133307&#x26;transcode_extension=webp" alt="" data-size="line"> Columns dropdown menu and then choose Customize columns.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FvL7AoXJbiDKnasRpDn5I%2Fimage.png?alt=media&amp;token=bb971197-4e01-42e6-8026-bab081e6cc04" alt=""><figcaption></figcaption></figure>

3. Click to check the boxes next to Campaign ID, Ad set ID or Ad ID.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FGA0ATlU7fwdPtGyLz5eU%2Fimage.png?alt=media&amp;token=c167db40-b80c-4af8-90f6-01aeb43ac32b" alt=""><figcaption></figcaption></figure>

4. Click into any campaign to review the Ad Set and get Ad Set ID

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FTLcwXH0eUE8mkGfHrmTf%2Fimage.png?alt=media&amp;token=042486d7-ca2b-491c-befd-d04975258e15" alt=""><figcaption></figcaption></figure>

5. Click again into each Ad Set to review the Ads and get individual Ad ID

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FIKWGBdOtBOUnM3aj4Tvw%2Fimage.png?alt=media&amp;token=e41b0a3a-a2f6-454c-a440-bac081912899" alt=""><figcaption></figcaption></figure>

* Tiktok

Under "Campaign" Tab, navigate to the Ad section, Ad ID and Ad Group ID are all available here.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FR4jhSDQC5iwRoT86OyhW%2Fimage.png?alt=media&amp;token=34dca264-3811-4478-8e7d-f4e4ef8f1e38" alt=""><figcaption></figcaption></figure>

**Step 3:**

Kindly open a certain product and check its URL. The sequence of numbers you see after products/ is the product ID.

<figure><img src="https://3689945269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWmFjr27AAzjaMIhakhuK%2Fuploads%2FfzyItE0cz3SMDM4livGE%2Fimage.png?alt=media&amp;token=519adc91-23f0-4b3d-84bd-e3c760631533" alt=""><figcaption></figcaption></figure>

**Step 4:**

After generating the URL, make sure you add this to UTM parameter so that the app tracks your ad spend accurately. Please contact our support in case you need help with this step! 😊

**Step 5:**

Save the process so you can check again at anytime!

***

📝 **Note: Marketing Performance Features by Plan**

GoProfit Analytics offers multiple tools to help you understand and optimize your marketing. These include **integrations with ad platforms** and **manual tracking options**, depending on your subscription plan:

***

**✅ Google & Facebook Ad Integrations**

* **Included in all plans**\
  Easily connect your **Google Ads** and **Facebook Ads** accounts to automatically track ad spend, gross sale from ads, and performance ROAS across channels.

  > Data from connected platforms is synced daily. You can view ad spend in the **Marketing Performance**.

***

**🚀 TikTok Ad Integration**

* **Only available in paid plans**\
  With TikTok integration, GoProfit fetches ad spend data and correlates it with sales activity to give you clearer insights on **TikTok ROAS** (Return on Ad Spend).

  > TikTok Ads support is available once your TikTok Business Account is linked. Integration setup is under **Settings → Marketing integration**.

***

**🛠️ Manual Marketing Attribution**

* **Only available in paid plans**\
  The **Manual Marketing Attribution** feature allows you to **manually connect ad campaign data to specific Shopify products** by using **custom tracking URLs**. This helps improve the accuracy of ad performance insights — especially for platforms or channels that don't support native integration (e.g., KOLs, affiliate traffic, offline campaigns, or TikTok before integration is enabled)..

  > Go to **Settings → Marketing Intergration > Marketing Attribution** to create tracking links.\
  > This feature is especially helpful when you want more granular control over tracking results **outside of native integrations**.
