Hi there
I’ve got several freebies/lead magnets on my website that visitors will need to put their name and email address in to access. However, once the visitor has entered their name and email, they are taken to a Thank You page where they can download their lead magnet.
I don’t want this Thank You page to appear in Google or other search engine results. Is there a way that I can add some code to these Thank You pages to prevent Google and other search engines from indexing them?
I’ve found the following code, which I believe will do the job, but I don’t know where to put it in X-Theme:
Any help will be much appreciated. Thank you.