php - Use Snapchat Pixel without User Email or Phonenumber

I'm currently working a Pixel for my site and don't know how I set it up without a user email or phone number? The Pixel requires one or both of these parameters to work properly.
I want to track how good my ads actually convert. When a user comes from an ad to my site, he is not logged in so I can't have any information about it and the Pixel sends errors. Only after his registration I can send these parameters.
Is there a proper way to fix this issue or do I just got it wrong in my head?
Edit:
<!-- Snap Pixel Code -->
<script type='text/javascript'>
(function(e,t,n){if(e.snaptr)return;var a=e.snaptr=function()
{a.handleRequest?a.handleRequest.apply(a,arguments):a.queue.push(arguments)};
a.queue=[];var s='script';r=t.createElement(s);r.async=!0;
r.src=n;var u=t.getElementsByTagName(s)[0];
u.parentNode.insertBefore(r,u);})(window,document,
'https://sc-static.net/scevent.min.js');
snaptr('init', 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx', {
'user_email': '__INSERT_USER_EMAIL__'
});
snaptr('track', 'PAGE_VIEW');
</script>
<!-- End Snap Pixel Code -->
I've successfully installed the pixel and I'm receiving events, but they can't get matched because the email parameter is not set. This happens when a user visits my site who is not logged in. If he logs in I can use his mail adress and the issue is solved.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: a non-numeric value encountered
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.