Tracking of Unbounce pages | Community
Skip to main content
KrispySalsa
Level 2
February 1, 2017
Solved

Tracking of Unbounce pages

  • February 1, 2017
  • 2 replies
  • 2475 views

Hi All,

I trust you are all well. Our marketing team uses Unbounce  to create landing pages, I have been asked to track these pages in Adobe, I have placed the Appmeasurement & visitor API files on the Unbounce page along with the following page code

<script language="JavaScript" type="text/javascript" src="https://somedomain.com/js/VisitorAPI.js"></script>

<script language="JavaScript" type="text/javascript" src="https://somedomain.com/js/AppMeasurement.js"></script> <script language="JavaScript" type="text/javascript"> /* You may give each page an identifying name, server, and channel on the next lines. */ s.channel="landing page" s.pageName = "landing page: " + document.title s.campaign = "" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//--></script> <script language="JavaScript" type="text/javascript"><!-- if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-') //--></script><noscript><img src="http://cmpi.122.2o7.net/b/ss/rsid/1/H.26.2--NS/0?[AQB]&cdp=3&[AQE]" height="1" width="1" border="0" alt="" /></noscript><!--/DO NOT REMOVE/--> <!-- End SiteCatalyst code version: H.25.2. -->

 

However I am note receiving any campaign traffic in Adobe from the Unbounce pages, below is the complete page code

can anyone offer me some advise please I am a little stuck sad

 

best

Chris.

However I am note receiving any campaign traffic in Adobe from the Unbounce pages, below is the complete page code

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by KrispySalsa

Hi Eric,

Many thanks for the response.  A big thankyou for the link to the new debugger.  I have managed to solve the issue, I have been informed, in the new Appmeasurement file I am not allowed to have multiple parameters in the  s.campaign=s.Util.getQueryParam('');  So ptreviously where we were using the follolwing s.campaign=s.getValOnce(s.Util.getQueryParam('cid,origin,kw,utm_campaign,utm_medium,utm_source,_mc,source'),'ext_campaign',30); we have had to change this to s.campaign=s.Util.getQueryParam('cid'); the single parameter, I had to put the rest in to some logic to capture all the parameters we currently use.

 

Regards

Chris

2 replies

EricMatisoff
Adobe Employee
Adobe Employee
February 7, 2017

Hi Chris,

Unfortunately it's hard to debug the code without seeing the actual live site. However, I'll take some guesses:

  1. Are you seeing any javascript errors in your console?
  2. When you load the Unbounce page, are you seeing an Adobe Analytics tag fire? If you're not sure how to check, use this free Chrome plugin: https://chrome.google.com/webstore/detail/adobe-marketing-cloud-pul/ocdmogmohccmeicdhlhhgepeaijenapj
  3. Did you replace the "somedomain.com" with the actual domain that's hosting your AppMeasurement.js? 

Eric

KrispySalsa
KrispySalsaAuthorAccepted solution
Level 2
February 9, 2017

Hi Eric,

Many thanks for the response.  A big thankyou for the link to the new debugger.  I have managed to solve the issue, I have been informed, in the new Appmeasurement file I am not allowed to have multiple parameters in the  s.campaign=s.Util.getQueryParam('');  So ptreviously where we were using the follolwing s.campaign=s.getValOnce(s.Util.getQueryParam('cid,origin,kw,utm_campaign,utm_medium,utm_source,_mc,source'),'ext_campaign',30); we have had to change this to s.campaign=s.Util.getQueryParam('cid'); the single parameter, I had to put the rest in to some logic to capture all the parameters we currently use.

 

Regards

Chris