Multiple parameters?
-
I have a shortcode that looks for a url parameter to fill in a source from the url:
https://example.com/ref=[source]
I’d like to phase out the source parameter in my urls in favor of utm_campaign, but want to keep [source] for urls that might still retain it. My question basically is if I can have both without issues. For example:
https://example.com/ref=[source]&[utm_campaign]
and if one is missing if it will mess up the url.
ie.. if source doesn’t exist it might show ref=&.
Hope my question is clear, thanks.
- The topic ‘Multiple parameters?’ is closed to new replies.