Unable to use anchor hash tag if using Google Analytics utm

7,612

Solution 1

The anchor tag should be at the end of the URL, after the query string:

http://example.com/page.html?query=term#anchor

Solution 2

You should use the anchor with the URL and UTM parameter like this:

http://www.example.com/help_faq.html?utm_source=jstock&utm_medium=help_menu#contribution

Share:
7,612

Related videos on Youtube

Cheok Yan Cheng
Author by

Cheok Yan Cheng

WeNote - Notes, To-do lists, Reminders & Calendar JStock Android JStock - Free Stock Market Software WeFocus - Focus, Pomodoro, Do one thing at a time

Updated on September 18, 2022

Comments

  • Cheok Yan Cheng
    Cheok Yan Cheng over 1 year

    If I want to user to go a particular section of my webpage, I will use

    http://www.example.com/help_faq.html#contribution
    

    However, sometimes, I need to track where user come from, if I use

    http://www.example.com/help_faq.html#contribution?utm_source=jstock&utm_medium=help_menu
    

    It fails to go to the particular section. Anything I can fix?