Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noscript dataLayer parameters #18

Closed
wants to merge 1 commit into from
Closed

noscript dataLayer parameters #18

wants to merge 1 commit into from

Conversation

matthewnessworthy
Copy link

With relation to the issue #12

This change includes the $dataLayer and $pushData in the call to the GTM noscript iframe endpoint.

Copy link
Member

@freekmurze freekmurze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also add a test to make sure getNoscriptData works as intended?

$data = array_merge($data, $pushData);
}

return \Illuminate\Support\Arr::dot($data);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import this namespace

*/
public function getNoscriptData()
{
$data = $this->dataLayer->toArray();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make it breathe a little. Add a blank line under this line.

@sebastiandedeyne
Copy link
Member

Doing some cleanup, feel free to send a new PR when the above comments are dealt with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants