I need a code to display a word based on the current URL.
So, if the url is website . com / ?hop=affiliate&tid=tracking
Then the code would display 'word1'
If the url is website . com
Then the code would display 'word2'
?hop= could be anything
and &tid= can be anything as well. sometimes it won't be present.
So as long as the ?hop is present , it should display 'word1'