The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. Changing H1 Tag based on referrer

    Changing H1 Tag based on referrer

    Web Design
    5 3 524
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • uSell
      uSell last edited by

      Hello,

      I need some quick help and advice.  We're going through a website re-design, and we have a few H1 tags set on some of our inner pages.  The team is ok with these, however they want to change the H1 tag if the user gets to that page from a page within the site.

      Example: 
      When the referrer is our site (www.domain.com), the H1 tag = Go to Step 2

      When the referrer is anything else, the H1 tag = Welcome to our site

      I'd like to keep the H1 tag as the SEO rich keyword text we agreed on (in this case "Welcome to Our Site"), however our developers don't think its directional enough and wants to change it based on the user path.

      I'm ok with the suggestion, however I want to make sure that if we choose the option with the referrer that this doesn't impact our SEO efforts.

      I'm assuming the referrer will changed based on how the bot gets to the page, but i'm not certain and was wondering if anyone had some thoughts on this..

      Any help is greatly appreciated.

      Thanks...

      1 Reply Last reply Reply Quote 0
      • OlegKorneitchouk
        OlegKorneitchouk last edited by

        I don't see how  "Welcome to Our Site" is keyword rich but you can make the message changing cookie based instead. Since Googlebot doesn't accept cookies, it will always see "Welcome to Our Site".

        Googlebot can't read cookie experiment - http://www.danclarkie.co.uk/googlebot-javascript-ajax-and-cookies-its-complicated.html

        uSell 1 Reply Last reply Reply Quote 0
        • uSell
          uSell @OlegKorneitchouk last edited by

          Hey,

          Thank you..that helps..Welcome to our site isn't the keyword rich text i was referring to..lol..was just trying to keep it as general as possible...

          Also, would this be the same if we used session instead?

          OlegKorneitchouk 1 Reply Last reply Reply Quote 0
          • OlegKorneitchouk
            OlegKorneitchouk @uSell last edited by

            Good question.. I'm not sure but inclined to say that googlebot wont accept sessions either. They used to have many problems with sessions and would index pages with session ids (don't see those anymore). Hopefully whatever they changed would help you too.

            1 Reply Last reply Reply Quote 0
            • mytouchoftech
              mytouchoftech last edited by

              Changing the content to show a bot something different than regular user is always considered black hat and is frowned upon.

              That being said, if you're trying to create different messages based on where the user came from, you may want to consider something like a bright box to provide direction and interaction to the visitor.  Some general text in the page like that could be dynamic without being considered deceitful to Google.

              I would have to recommend not trying to show Google something completely different than what users see in any regard.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Have Your Thoughts Changed Regarding Canonical Tag Best Practice for Pagination? - Google Ignoring rel= Next/Prev Tagging
                Mat_C
                Mat_C
                1
                3
                76

              • Does anyone have data on the effect of multiple H1 tags on a page?
                DirkC
                DirkC
                0
                2
                154

              • Self-Referrals
                RyanPurkey
                RyanPurkey
                0
                3
                172

              • Magento Category H1 Tags
                Everett
                Everett
                0
                3
                2.7k

              • Other tags inside an H1 tag
                jonmifsud
                jonmifsud
                1
                4
                32.6k

              • Duplicate H1 tag IF it holds SAME text?
                RetroOnline
                RetroOnline
                0
                8
                2.4k

              • H1 Tags with Location
                kchandler
                kchandler
                0
                3
                898

              • Java-script slider & H1 tags
                GraphicMail
                GraphicMail
                0
                4
                1.8k

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy