Install tracking on ads

Set up Facebook ads

Go to your Facebook Ads Manager, and go to Ads tab.

Select all ads using the checkbox in the header and click on Edit ads. This will edit all ads, in bulk

Copy this code fbadid={{ad.id}}&fbadname={{ad.name}} and paste it in the URL parameters field

If you have other parameters, such as utm_campaign={{fb.campaign_name}}&source=facebook , merge them by adding &fbadid={{ad.id}}&fbadname={{ad.name}}

Don’t forget to save the new change

Next, make sure to integrate Facebook if you haven’t done that already!

Set up Google ads

Go to your Google Ads Manager, and go to Ads section.

Click on the Tools icon and click on Scripts ( under Bulk Actions ) and click on the plus icon to create a new script.

Copy the code below and paste in the new script

Don’t forget to name the script, for example “Atlass ad name generator” and click on save. Before navigating, make sure to click run.

Next, go to All campaigns, click on Settings button, then Account settings and open the tracking section.

Copy this code {lpurl}?gadid={creative}&gadname={_adname} and paste it in the Tracking Template field

Don’t forget to save the new change

Now, make sure to set up the Google Ads integration if you haven’t done that already.

Set up TikTok ads

Go to your TikTok Ads Manager, and go to Ads tab.

Select all ads using the checkbox in the header and click on Edit ads. This will edit all ads, in bulk

Add the following parameters to the URL of every add: ttadid=__CID__&ttadname=__CID_NAME__ 

Don’t forget to save the new change

Now, make sure to set up the TikTok integration, if you haven’t done that already

Set up Email Tracking

Go to your Email Service provider and edit the email templates in use.

Edit the CTA link within the body of the email

Add the tracking parameters to the existing link ?atl_campaign=%email.subject%

First make sure you change the %email.subject% , depending on your ESP.

For MailChimp, use he code below:

   ?mc_cid=*|CAMPAIGN_UID|*

( More details here )

For ActiveCampaign, use he code below:

  ?ac_cid=%CAMPAIGNID%

( More details here )

For Drip, use he code below:

  ?atl_campaign={{campaign.name}}

For ConvertKit, use the code below:

  ?atl_campaign=name-of-email-campaign

For Klaviyo, use the code below:

  ?atl_campaign=name-of-email-campaign

For Aweber, use the code below:

  ?atl_campaign=name-of-email-campaign

For SendGrid, use the code below:

  ?atl_campaign=name-of-email-campaign

Don’t forget to save the new change

Set up integrations

Shopify Integration

The Shopify integration will sync all sales instantly and our algorithm will analyze and attribute those sales to the relevant ad.

So let’s plug it in.

First, log into your Shopify store and go to Apps -> develop apps ( from the top right hand side ) and then click on Create an app.

Under name, type Atlass app and then hit create app. From the app page, go to Configuration tab, then under Admin API Integration, click on Configure.

Add the activate the following: read_analytics, read_customers, read_orders, read_shipping, read_themes, write_themes, read_script_tags, write_script_tags. Then click save.

From the API Credentials tab, under Access Token, click on Install app. An access token will be generated for the integration. This will be used to communicate between Atlass and you Shopify store.

Copy the generated Access Token and the API Secret Key and head over to your Atlass account, inside Setup -> Integrations -> Shopify.

Inside the integration, make sure to paste the access token and API secret key along side the store URL and click Connect.

After the integration is done, a tracking code will be generated by the integration,

Copy the script, then go to your Shopify store admin panel, click on the Online Store -> Themes, then from the Actions dropdown menu, click on Edit code

Click on the theme.liquid file and paste the code as high as you can inside the <head></head> tag then click save.

Now go to Settings -> Checkout and paste the same code inside the Additional scripts section.

Click save.

Facebook Integration

The Facebook integration will allow us to calculate and analyze which ad makes the most profits and provides the best return on investment.

Let’s plug it in.

First, go to the Integrations page and click on Facebook then log in with Facebook.

After the Facebook login pop-up window will prompt to allow Atlass access to your account, click the Save Integration button.

After the integration is saved, go to the ad accounts tab.

From the Ad Accounts, click the imports button. This action will import all ad accounts owned or managed by you.

After they have been imported, enable the ones you are using the run ads and want to attribute the sales.

Now, make sure to set up tracking parameters for all Facebook ads, if you haven’t done that already.

Google Ads Integration

TikTok Integration

The TikTok integration will allow us to calculate and analyze which ad makes the most profits and provides the best return on investment.

Let’s plug it in.

First, go to the Integrations page and click on TikTok ->Create new and click on the Connect button.

You will be redirected to log inside your TikTok account and allow access permissions.

Click on Confirm and you will be redirected back to your Atlass account.

Also make sure to add the tracking parameters to all your active ads from the TikTok Ads Manager: