Problem/Motivation
It is currently not possible to override client_ip_address and client_user_agent parts of the user data as there is an incorrectly named variable inside of MetaClient::sendRequest().
At the moment, you can pass in client_ip_address and client_user_agent but due to the incorrectly named variable, the values won't be found and it will fall back to setting the two values at this point in time instead.
Steps to reproduce
Call the ::sendRequest() method from the MetaClient and pass in client_ip_address and client_user_agent as part of the $userData parameter. Those values won't be used and the values will be generated by the fallback code.
Proposed resolution
Fix the incorrectly named variable.
Remaining tasks
Code the fix.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork meta_conversions_api-3495027
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rossb89 commentedMR added, marked as needs review.
Comment #4
rossb89 commentedComment #6
rob230 commentedThank you.