I would like to use javascript to grab a URL parameter, in this case the "fbclid" parameter from a facebook ad link click.
I want to rename that parameter, so I can properly import it into my CRM and store it. My CRM can only do this with a specific type of parameter name.
So for example, if the URL was:
mysite.com/?fbclid=123456
I would like to turn that into:
mysite.com/?cf_1=123456
And fyi the value of 123456 is autogenerated during the link click, it's not a static number. Sorry if that's obvious, I'm new to this and wanted to be crystal clear.