Total Newbie question re: use of URL parameters

Total Newbie question re: use of URL parameters

by Blair F. -
Number of replies: 3
Picture of Particularly helpful Moodlers

I've made my first practice plugin which is simply a button that takes the user to our support page. The button is created as a form. My "form action" line contains google analytics parameters so I can track the use of the button." However, I've noticed that everything past the question mark, in the example below, is stripped off. I've tried adding an escape character, but that didn't do it. 

I've spent half a day trying to figure this out. I'm sure many of you can look at this and know my mistake in 5 seconds. If you're one of those people, I'd so appreciate it if you would let me know and take me out of my misery! 


Attachment formaction.PNG
Average of ratings: -
In reply to Blair F.

Re: Total Newbie question re: use of URL parameters

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

Try...


Average of ratings: Useful (2)
In reply to Jon Bolton

Re: Total Newbie question re: use of URL parameters

by Blair F. -
Picture of Particularly helpful Moodlers
Thank you! That worked!!! You're my hero! Where do I send the cake?!
In reply to Blair F.

Re: Total Newbie question re: use of URL parameters

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers
Good, pleased you got it sorted 😊
The cake button is just under my original reply, called 'Rate' 😉
Average of ratings: Useful (1)