What is the Organic Tracking Script?

It is a small javascript that that you add to your landing page or site. It tracks your campaign like a regular campaign URL (redirect url). As oposed to the campaign URL which tracks the visits when the campaign URL is called, the organic tracking script will start tracking the visit when your site loads.
Essentially, it means that you can send traffic directly to your landing page.

Which campaigns should run with the Organic Tracking Script?

  • SEO campaigns
  • PPC / Search campaigns (Adwords, Bing)
  • Email Marketing Campaigns
  • Social Media Campaigns

What are the specific features of the Organic Tracking Script?

  • Track referrer URL's
  • Track the landing page URL
  • Track the landing page Name
  • Tracks any query string URL parameters i.e. "utm_source=google&utm_medium=cpc

Best practices for using the Organic Tracking Script

While the organic tracking script is available for each campaign you create, one of it's main benefits, is that it can track any traffic source, as long as the url query strings are common to the traffic sources you are driving traffic from. For this reason, we have created a generic organic traffic source, which is set with the standard UTM parameters.
The UTM parameters are available across most traffic sources such as Google Ads, Bing, Facebook, Outbrain and many others.

If you feel comfortable setting your own parameters, you can also add custom parameters.

For instance, marketing tools such as Mailchimp, Drip or Active Campaign also make use of UTM parameters in addition to other custom parameters.

Analytics & Reporting

If you use the Organic Script on your blog, the Traffic Source name (what you set as a traffic source in TrackingDesk) and the "source" parameters can be confusing.
The traffic source will always be the name of the traffic source you have set.
The Source will change according to the channel that drove traffic to your site.
ex: If you have set your traffic source as "my blog" and you drive traffic from Google Ads to the following URL

https://trackingdesk.com/?utm_source=google&utm_medium=cpc

In the Analytics section you will see:

  • Traffic Source = My Blog
  • Source = google

And if you send traffic to the same URL but you change the utm_source to bing

https://trackingdesk.com/?utm_source=bing&utm_medium=cpc

In the Analytics section you will see:

  • Traffic Source = My Blog
  • Source = bing

Google Tag Manager

Since each traffic source can have different URL parameters and you want to make the most out of each traffic source, you might want to use Google Tag Manager to load the organic script according to specific url parameters.

In this case, you would create each traffic source, for instance AdWords, Bing (use the predefined template), create your campigns and add each organic script to your google tag manager (custom html tags).

You would also want to create a default campaign that will trigger for all traffic not coming from Google or Bing.

Settings:
All page views

Trigger accordingly the script using the utm source variables

  • UTM source = google
  • UTM source = Bing

Note that this  can be done for all traffic sources.

You can also use a Google Tag Manager template we have prepared for this purpose.
Check out the article about Integrating Google Tag Manager with the TrackingDesk organic tracking script.

What are the benefits of using the Organic Tracking Script

Beside tracking your organic traffic - SEO, referral, backlinks etc... - The organic script can and should be used in case you run 360 degree campaigns.
For instance if you are a blogger your blog will receive traffic from:

  • Organic searches
  • Social media posts
  • Email marketing
  • PPC (AdWords, Native Ads)
  • Referral partners

So very much like Google Analytics, the script will track all channels / sources, but TrackingDesk will track conversions too.

Note: You can now send your affiliate conversions to Google Analytics using the Google Analytics TrackingDesk Integration.

PPC / Search Marketing

If you promote a website through AdWords, you can setup one unique landing page in TrackingDesk, and add the tracking script on the <head> of your site. Any traffic reaching your site will be tracked, as well as all the pages, referrer and page url's.

If you are experienced with AdWords, you know that AdWords does not like "redirect" URL's.

The Workflow:

  • Add one landing page (i.e. https://yourblog.foo)
  • Add a traffic source - Predefined Organic Traffic Source
  • Create one campaign
  • Add the tracking script in the head of your site.
  • Add the call to actions URL's on your site
  • Check that you have the Auto-Tagging feature enabled on your Adwords account
  • Create your ads in AdWords for any of your site's pages

Result:

  • All pages URL's will be tracked
  • All custom parameters sent by AdWords will be automatically tracked

Read the guide on How to Run Affiliate Campaigns on Google Ads

NB: If you were to create an ad for each of your site's pages, you would need to add many landing pages in TrackingDesk, create a campaign for each of those pages. Needless to say the amount of work if you have 100 pages. 

Email Marketing Campaigns

Most email marketing software append utm parameters to your campaign URL's.
If you promote your site's articles, you don't necessarily want to create a campaign in TrackingDesk for each article. 

Example of workflows:
Many email marketing provider will allow you to "auto-post" your campaign to your social media network. So instead of creating additional campaign URL's you can post the same campaign.

If your site gets traffic from organic search, email marketing as well as social media posts, you will not have to create campaigns for each of those channels, as they will all be tracked under the same campaign.
NB: Instead of checking which "traffic source" generated the traffic, you can group your stats by "Source". The UTM parameter used to track the source and medium, will show you in the TrackingDesk analytics, which of the channels generated the traffic.

  • Source example: utm_source=drip
  • Medium example: utm_medium=email

Read about the Drip and TrackingDesk Integration

Social Media Workflow

When posting your site's URL in a social media network, Facebook for instance will read the Open Graph values and display those values in the post

  • Image
  • Description
  • Title
  • URL

NB: if you post a campaign URL (redirect), facebook will not be able to read the open graph value.

Example of workflow:

  • If you automate the posts of your site, any of those posts will be tracked individually and it will not be necessary to setup a campaign for each post.
  • If you automatically "boost" your social media post

How to set up your campaign:

Requirements:

  • A landing Page
  • A Traffic Source
  • Affiliate offers

Step #1: Add your landing page:
.


Step #2. Define the number of call to actions (CTA) you are promoting

  • Copy / Paste the Call to Action URL's on your landing page
  • You can modify the domain to use your custom tracking domain
  • The TD Call To Action URL must be on your page (not behind a cloacker)

Save the Landing Page


3. Create a Traffic Source - Select "organic" from the drop down menu and save.

4. Create a campaign and name it

5. Search for the landing page among your account assets.

5.1 Add the Landing Page to the Campaign assets


6. Associate the "call to actions" to the relevant offer links

7. Select the offer links


8.  Save the campaign.
9. Copy / Paste  the advanced organic snippet into the HEAD of your page or site.

That's it. From now on, any traffic reaching your page organically or from social media posts or from any type of traffic, will be tracked along with conversions generated in Affiliate Networks promoted on the page.

Key take aways:

  • Your Traffic Source can be named after your Site / Landing Page - (Very much like with Google Analytics, when you create a property and set your GA script on your site,)
  • Since the campaign script tracks all incoming url parameters, you can promote your landing page across Google and Bing, and you will be able to see each source performances according to the "source" as opposed to the Traffic Source (since the traffic source is the same).
  • The Landing Page can be used organically and can also be added in a regular campaign promoted through a Redirect URL. TrackingDesk will set the cookie during the redirect and will disregard the organic script if present on the Landing page.

If you prefer sending traffic straight to your landing page (instead of using the redirect URL), and the traffic source doesn't have the standard UTM parameters, you should follow those steps:

  • Create your campaign - for the specific traffic source.
  • Copy / paste the organic script on your Landing page or blog's head
  • Select the URL parameters associated with the campaign
  • Append the URL parameters after your blog URL

This is the Campaign URL in TrackingDesk

This is the actual URL with all the parameters generated for a campaign on SelfAdvertiser traffic source

https://fire.postbackurl.io/cXA0yIyRY8kjxg2FJ?ref=d4e452f4710f30e083260da22c346f92&utm_source=@@SOURCE@@&clickid=@@CLICK-ID@@&campaign_keyword=@@CAMPAIGN-KEYWORD@@&utm_term=@@KEYWORD@@&bid=@@BID@@&utm_campaign=@@CAMPAIGN_NAME@@&device=@@DEVICE@@&os=@@OS@@&browser=@@BROWSER@@&geO=@@GEO@@&carrier=@@CARRIER@@


Select the URL parameters only (everything including the question mark "?")

?ref=d4e452f4710f30e083260da22c346f92&utm_source=@@SOURCE@@&clickid=@@CLICK-ID@@&campaign_keyword=@@CAMPAIGN-KEYWORD@@&utm_term=@@KEYWORD@@&bid=@@BID@@&utm_campaign=@@CAMPAIGN_NAME@@&device=@@DEVICE@@&os=@@OS@@&browser=@@BROWSER@@&geO=@@GEO@@&carrier=@@CARRIER@@

Add it to your blog URL

https://trackingdesk.com/blog?ref=d4e452f4710f30e083260da22c346f92&utm_source=@@SOURCE@@&clickid=@@CLICK-ID@@&campaign_keyword=@@CAMPAIGN-KEYWORD@@&utm_term=@@KEYWORD@@&bid=@@BID@@&utm_campaign=@@CAMPAIGN_NAME@@&device=@@DEVICE@@&os=@@OS@@&browser=@@BROWSER@@&geO=@@GEO@@&carrier=@@CARRIER@@

Then you can add this URL to your traffic source platform and drive traffic directly to your landing page instead of going through the redirect.

Did this answer your question?