Apologies for my newbie question. I know it's simple but I can't find documentation anywhere. Where do I add the Omniture code to an html page to track a link? Below I have what was given to me.
Also, do any external files have to be hosted on the server? All I was given was the following code.
Thank you so much in advance!!
This is what was given to me:
?cid=MRI10NE&s;_ocid=MRI10NE:0510:Find_A_Dealer
You have to have the tracking code, also referred to as the s_code.js file included on every page of the site. Then within that file you will need to make sure that is is looking for the url variables that you are passing.
cid , s_ocid
cid=MRI10NE
s_ocid=MRI10NE:0510:Find_A_Dealer
The code should look similar to this: ( where N is the variable number )
Just change the s.eVar to the variable type you want.
s.eVarN=s.getQueryParam('cid');
s.propN=s.getQueryParam('s_ocid');
The getQueryParam plugin mentioned about can be found in the Knowledge Base. ID: 1420
-Rudi
Reply