The purchase code doesn't need to be inserted anywhere. You need to set the domain name in your account and generate a key for your domain. That key needs to be inserted in the embed code under domainKeys parameter. If you are using the online panel, you can insert the key there in the domain key section.