SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast sumeshbabu's Avatar
    Join Date
    Nov 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Google Analytics Tracking Code

    Hi Team,

    If flash, we are using the getURL like this.

    on (release){
    getURL("http://www.securecart.com/?store=parameters");
    }


    For Google Google Analytics Tracking Code, I need to use the code like the following:

    <a href=" https://www.securecart.com/?store=parameters" onclick="pageTracker._link(this.href); return false;">Purchase Now</a>

    I tried with getURL. It's not working.

    How do you use this with getURL?

    Anybody can help in this?

  2. #2
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,547
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    Don't use getURL if possible use externalInterface it has better crossbrowser compatibility when calling external javascripts.
    There are plenty examples of using google analytics with this available.

  3. #3
    SitePoint Enthusiast sumeshbabu's Avatar
    Join Date
    Nov 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by EastCoast View Post
    Don't use getURL if possible use externalInterface it has better crossbrowser compatibility when calling external javascripts.
    There are plenty examples of using google analytics with this available.
    Actually, I need to use this inside the flash, means need to embed the link.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •