Adding new parameters for PIQ-Ad-Tracker and refactoring code.